package com.bamboo.framework.common.qiniu.kodo.util;

import com.bamboo.framework.common.format.ReturnMsg;
import com.bamboo.framework.common.qiniu.kodo.config.BucketProperties;
import com.qiniu.common.QiniuException;
import java.io.InputStream;

/**
 * @Author: GuoQing
 * @Date: 2019/1/29 15:28
 * @description 千牛文件上传接口类
 */
public interface UploadFiles {


  ReturnMsg uploadFiles(InputStream file, BucketProperties bucketProperties,String key)throws QiniuException;


  ReturnMsg uploadFiles(String localFilePath, BucketProperties bucketProperties, String key)throws QiniuException;

  ReturnMsg uplodImage(InputStream file);

  ReturnMsg uplodImage(String fileName,InputStream file);

  ReturnMsg uplodImage(String fileName, BucketProperties bucketProperties,InputStream file);
}
